
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="java.sql.*, java.util.*, support.*" %>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<%



	request.getSession().setAttribute("uname",request.getRemoteUser());
	if(request.isUserInRole("admin")) 
	{
%>
		<logic:redirect forward="ChairsHome"/>
<%	
	}
	else if(request.isUserInRole("student"))
	{
%>
		<logic:redirect forward="myApplication"/>
<%		
	}
	else
	{
%>
    	<logic:redirect forward="Reviewer"/>
<%
	}
%>
